CFLAGS = -I ./ -g -Wall
XUTIL_INC = ../

# OS remove command
ifeq ($(OS),Windows_NT)
	RM = del /f /q /a /s
else
	RM = rm -rf
endif

########################################

TEMPLATES = time

time: time.o
	gcc -o time time.o -I $(XUTIL_INC) -L $(XUTIL_INC) -lxutil

########################################

%.o: %.c
	gcc -c $(CFLAGS) $<

clean:
	$(RM) *.o *.a *.exe ${test_time}
